﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace REVISIONMAX30
{
    public class Types
    {
        public static List<GenericType<string, string>> SourceTypeList = GenerateSourceTypeList();

        private static List<GenericType<string, string>> GenerateSourceTypeList()
        {
            var tList = new List<GenericType<string, string>>();

            tList.Add(new GenericType<string, string>() { Key = "", Value = "" });
            tList.Add(new GenericType<string, string>() { Key = "SQLFILE", Value = "SQL File" });
            tList.Add(new GenericType<string, string>() { Key = "COMMANDTEXT", Value = "Commend Text" });

            return tList;
        }
    }

    public class GenericType<KeyType, ValueType>
    {
        public KeyType Key { get; set; }
        public ValueType Value { get; set; }
    }
}
